package com.galaxy.service.entity.system;

import com.baomidou.mybatisplus.annotations.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caijinbang
 * @date 2018/10/27 17:48
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserRole {

  /**
   * 用户角色表id
   */
  @TableId
  private String id;

  /**
   * 用户id
   */
  private String userId;

  /**
   * 角色id
   */
  private String roleId;
}
